package com.hezongxi.dao;

import com.hezongxi.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserDao {
    User findByUserName(String username,String password);

    List<User> findAllUser();

    void addUser(User user);

    void deleteUser(String id);
}
